package com.study.pojo;

/**
 * 管理员pojo类
 * @Author Miss kun
 * @Date 2020/10/8 19:38
 * @Version 1.0
 */
public class Admin {

    /**
     * id
     */
    private int id;
    /**
     * name
     */
    private String name;
    private String password;
    private int phone;
    /**
     * 权限控制
     */
    private int control;

    public Admin() {
    }

    public Admin(String name, String password, int phone, int control) {
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.control = control;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public int getControl() {
        return control;
    }

    public void setControl(int control) {
        this.control = control;
    }
}
